//
//  CircleListMainViewModel.h
//  RACExample
//
//  Created by 山刘 on 2020/6/3.
//  Copyright © 2020 山刘. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CircleListMainViewCellViewModel.h"

typedef enum : NSUInteger {
    RefreshLoading, // 正在刷新
    RefreshError, // 刷新出错
    RefreshUI, // 仅仅刷新UI布局
} RefreshDataStatus;

NS_ASSUME_NONNULL_BEGIN

@interface CircleListMainViewModel : NSObject
@property (nonatomic, strong) RACCommand *refreshDataCommand;
@property (nonatomic, strong) RACSubject *refreshDataSubject;

@property (nonatomic, strong) RACSubject *cellClickSubject;//点击cell的热信号

@property (nonatomic, strong,readonly) NSArray<CircleListMainViewCellViewModel*> *dataArray;
@end

NS_ASSUME_NONNULL_END
